/**
* 版权声明：厦门睿商网络科技有限公司 版权所有 违者必究
* 日    期：2020-02-17
*/
package com.rzico.basics.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
import io.swagger.annotations.ApiModelProperty;

/**
 * <pre>
 *   产品档案数据库对象
 * </pre>
 * @author Rzico Boot
 * @version 1.0
 */
@Data
@JsonIgnoreProperties(value = {"handler"})
@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "wx_enterprise")
public class Enterprise implements Serializable{

    @ApiModelProperty(value = "")
    @Id
    protected Long id;

    @ApiModelProperty(value = "创建日期")
    @JsonIgnore
    protected java.util.Date createDate;

    @ApiModelProperty(value = "修改日期")
    @JsonIgnore
    protected java.util.Date modifyDate;

    @ApiModelProperty(value = "logo")
    protected String logo;

    @ApiModelProperty(value = "公告")
    protected String notice;

    @ApiModelProperty(value = "客户电话")
    protected String phone;

    @ApiModelProperty(value = "公众号二维码")
    protected String qrcode;

    @ApiModelProperty(value = "配送周期设置")
    protected String  shippingConfig;

    @ApiModelProperty(value = "0.正常营业,1.暂停营业,2.关闭")
    protected Integer paused;

    //以上部份平台设置
    @ApiModelProperty(value = "商户名称")
    protected String name;

    @ApiModelProperty(value = "交易手续费（%）")
    protected java.math.BigDecimal brokerage;

    @ApiModelProperty(value = "提现手续费（%）")
    protected java.math.BigDecimal transfer;

    @ApiModelProperty(value = "收单手续费（%）")
    protected java.math.BigDecimal paybill;


    @ApiModelProperty(value = "接单方式(0:手动接单,1:自动接单)")
    protected Integer shippingMethod;

    @ApiModelProperty(value = "起送金额")
    protected java.math.BigDecimal minimumDelivery;

    @ApiModelProperty(value = "配送方式(0.全国快递,1.到店提货,2.骑手配送)")
    protected String deliverMethod;

    @ApiModelProperty(value = "店铺介绍")
    protected String content;

    @ApiModelProperty(value = "店主账号")
    protected Long memberId;

    @ApiModelProperty(value = "年度服务费")
    protected java.math.BigDecimal unionFee;

    @ApiModelProperty(value = "绑定域名")
    protected String domain;

    @ApiModelProperty(value = "授权店铺数")
    protected Long shopMaxCount;

    @ApiModelProperty(value = "开通线上支付")
    protected Boolean isLinePay;

    @ApiModelProperty(value = "开通货到付款")
    protected Boolean offLinePay;

    @ApiModelProperty(value = "允许买家退货")
    protected Boolean allowReturn;

    @ApiModelProperty(value = "允许负库存出库")
    protected Boolean allowNegativeStock;

    @ApiModelProperty(value = "开通扫码支付")
    protected Boolean scanPay;

    @ApiModelProperty(value = "食品经营许可证")
    protected String food;

    @ApiModelProperty(value = "身份证反面")
    protected String idCardBack;

    @ApiModelProperty(value = "身份证正面")
    protected String idCardFront;

    @ApiModelProperty(value = "营业执照")
    protected String license;

    @ApiModelProperty(value = "账户余额")
    protected BigDecimal balance;

    @ApiModelProperty(value = "店内场景照")
    protected String scene;

    @ApiModelProperty(value = "店面门头照")
    protected String thedoor;

    @ApiModelProperty(value = "其他辅助材料")
    protected String otherPhoto;

    @ApiModelProperty(value = "推广者合照")
    protected String promoterPhoto;

    @ApiModelProperty(value = "银行卡/开户证明")
    protected String bankinfoPhoto;

    @ApiModelProperty(value = "商户号")
    protected String mchId;

    @ApiModelProperty(value = "创建者")
    @JsonIgnore
    protected String createBy;

    @ApiModelProperty(value = "更新者")
    @JsonIgnore
    protected String modifyBy;

    @ApiModelProperty(value = "银行ID")
    protected Integer bankId;

    @ApiModelProperty(value = "账号类型(0.对公账号,1.对私账号)")
    protected Integer bankType;

    @ApiModelProperty(value = "账号")
    protected String bankNum;

    @ApiModelProperty(value = "开户名")
    protected String bankName;

    @ApiModelProperty(value = "背景装修")
    protected String background;

}
